import java.util.Scanner;

/**
 * @author 余鹏龙
 * @version 1.0
 */

// Date类内部定义属性x和y
// 在main方法中实例化Date类
// 并计算date对象中x和y的和
class Date {

    public int x;
    public int y;

    public Date(int x,int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while(scanner.hasNext()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Date date = new Date(x, y);
            System.out.println(date.getX()+date.getY());
        }
    }

}
